[POWERPC][XEN] Mark heap memory based on boot_of.c's allocator.
authorHollis Blanchard <hollisb@us.ibm.com>
Fri, 19 Jan 2007 21:36:17 +0000 (15:36 -0600)
committerHollis Blanchard <hollisb@us.ibm.com>
Fri, 19 Jan 2007 21:36:17 +0000 (15:36 -0600)
commit019ad5c1c66507907ace126814a6c762e574a307
treefd3f0bfa26fbaab1781d720f80f0784669ecb592
parent6b0674739461e1600b9656e18690419c54ae4a51
[POWERPC][XEN] Mark heap memory based on boot_of.c's allocator.
- Explain why we have another allocator (that wasn't so hard now was it?).
- Create and export boot_of_mem_avail() to allow later code to iterate over the
  allocator bitmap.
- Use boot_of_mem_avail() to place memory in the heap, instead of using globals
  and making assumptions about the ordering of reserved areas.

Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
--HG--
extra : transplant_source : %5B%CB%15%5E%5D%E5%7C%02%EF%3B8%D4%98%96%25%FF%AF%E3%FC%BE
xen/arch/powerpc/boot_of.c
xen/arch/powerpc/memory.c
xen/include/asm-powerpc/mm.h